<%-- 
    Document   : success
    Created on : 13.12.2013, 11:24:45
    Author     : palo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><spring:message code="top.main" /></title>
          
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/style.css" type="text/css" >   
    </head>
    <body>
        <div id="cele">
            <h1><span></span><c:out value="top.main" /></h1>       
            <jsp:include page="../menu.jsp" />
        
        <div id="obsah">  
                <h3><spring:message code="${successMessage}" /></h3>
                <a href="${pageContext.request.contextPath}/mushroom"><spring:message code="mushroom.all" /></a>
                <c:if test="${successMessage eq 'add.success'}">
                    <a href="${pageContext.request.contextPath}/mushroom/add"><spring:message code="mushroom.add" /></a>
                </c:if>
            </div>
             
                <jsp:include page="../footer.jsp" />
            

    </body>
</html>